<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>德育教育</title>
    <script type="text/javascript" src="../static/js/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/script.js"></script>
    <script type="text/javascript" src="../static/js/template.js"></script>
    <link rel="stylesheet" href="../static/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="../static/css/style.css">
    <style>
        .headerbs{
            box-shadow:  0 8px 6px -6px #ddd;
        }
        .active{
            color:#B8CF6F;
            font-weight: bold;
        }
        .maincontent{
            margin-top: 70px;
            padding-bottom: 70px;
        }
        .toup{
            display: none;
            cursor: pointer;
            position: fixed;
            width: 60px;
            height: 60px;
            right: 50px;
            bottom: 100px;
        }
        .toup img{
            width: 100%;
        }
        .bigimg{
            background-image: url("../static/img/i3.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 40%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
        .leftmenu{
            position: absolute;
            height: 100%;
            width: 12%;
            background:rgba(164, 189, 84,.9);
            color:#FFF;
            text-align: center;
        }
        .items{
            height: 14%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        .items p{
            padding: 20px 0;
            border-bottom:1px solid #FFF;
        }
        .items:last-child p{
            border:0;
        }
        /* 政策文件 */
        .catitem{
            margin-top: 50px;
        }
        .catitem .title{
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #F0F0F0;
            padding:12px 20px;
            border-radius:5px 5px 0 0;
        }
        .catitem .title .more{
            color:#797979;
            font-size: 15px;
            cursor: pointer;
        }
        .catitem .title .name{
           font-size: 22px;
        }
        .catitem .title .name .fa{
            color:#999999;
        }
        .catitem .list{
            display: flex;
            justify-content: space-between;
            color:#8E8E8E;
            margin-top: 30px;
        }
        .catitem .list ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .catitem .list ul li{
            width: 45%;
            padding: 10px 0;
            position: relative;
            cursor: pointer;
        }
        .catitem .list ul li .date{
            position: absolute;
            right:0;
        }
        /* 精品资源 */
        .catitem .list .zyitem .coverimg{
            background-image: url("../static/img/i2.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 60%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
        .catitem .list .zyitem .covertext{
            padding:10px 15px;
            border:1px solid #DEDEDE;
            border-top:0;
        }
        .catitem .list .zyitem .covertext .name{
            font-size: 17px;
            padding: 0 0 5px 0;
            color:#4C4C4C;
        }
        .catitem .list .zyitem .covertext .date{
            font-size: 14px;
            color:#9F9F9F;
        }
        .catitem .list .zyitem{
            width: 22%;
        }

        /* 优秀班会 */
        .bhitem{
            display: flex;
            width: 45%;
            margin-top: 30px;
            align-items: center;
        }
        .bhitem .info{
            flex: 4;
            padding-left: 15px;
        }
        .bhitem .info .detail{
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            color:#B6B6B6;
        }
        .bhitem .desc{
            font-size: 14px;
            margin: 10px 0;
            color:#A1A1A1;
        }
        .bhitem .info .stitle{
            color:#444444;
        }
        .bhitem .leftimg{
            background-image: url("../static/img/i4.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 140px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            flex: 2;
        }
        .bhitem .bhdetail{
            cursor: pointer;
            color:#A6C44C;
        }
        /* 德育名师 && 活动上传 */
        .msup_dom{
            display: flex;
            justify-content: space-between;
        }
        .msup_dom > div{
            width: 45%;
        }
        .mslist{
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        .mslist .msitem{
            background: #F2F2F2;
            width: 28%;
            padding: 10px;
        }
        .msinfo{
            height: 230px;
        }
        .msimg{
            background-image: url("../static/img/i5.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 190px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
        .msname{
            text-align: center;
            font-size: 20px;
            color:#444444;
            padding: 15px 0;
        }
        .msdesc{
            font-size: 14px;
            color:#8A8A8A;
            line-height: 25px;
        }

        .hdimg{
            background-image: url("../static/img/i6.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 190px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        /* 校园德育 */
        .xylist{
            margin-top: 20px;
        }
        .xyitem{
            width: 48%;
        }
        .xyimg{
            background-image: url("../static/img/i7.png");
            position: relative;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 320px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
        .xyimg .atitle{
            position: absolute;
            bottom:0;
            width: 100%;
            background: rgba(0,0,0,.8);
            color:#FFF;
            padding: 20px 15px;
        }
        .xylist > div{
            display: flex;
            padding: 10px 0;
        }
        .outline1{
            flex: 4;
        }
        p.date{
            flex: 1;
            text-align: right;
        }
        .zcli{
            width: 100% !important;
        }
    </style>
</head>
<body>
<div class="wrapper">
    <div class="header">
        <div class="glogo"></div>
        <div class="nav">
            <div class="active" onclick="window.location.href='../login/login.html'">首页</div>
            <div onclick="window.location.href='../resources/index.html?type=online'">资源在线</div>
            <div onclick="window.location.href='../headmaster/index.html?type=teacher'">班主任工作</div>
            <div onclick="window.location.href='../classroom/index.html?type=classroom'">德育讲堂</div>
            <div onclick="window.location.href='../activity/index.html?type=activity'">活动专区</div>
        </div>
    </div>
    <div class="maincontent">
        <!-- 首页上放大图&&菜单 -->
        <div class="bigimg">
            <div class="leftmenu">
                <div class="items" data-type="0"><p>政策文件</p></div>
                <div class="items" data-type="1"><p>精品资源</p></div>
                <div class="items" data-type="2"><p>优秀班会</p></div>
                <div class="items" data-type="3"><p>德育名师</p></div>
                <div class="items" data-type="4"><p>活动上传</p></div>
                <div class="items" data-type="5"><p>校园德育</p></div>
                <div class="items" data-type="6"><p>资讯</p></div>
            </div>
        </div>

        <!-- 政策文件 -->
        <div class="catitem zc_dom">
            <div class="title">
                <span class="name"><i class="fa fa-file-text"></i>&nbsp;&nbsp;政策文件</span><span onclick="getMore(0)" class="more">查看更多 >>></span>
            </div>
            <div class="list">
                <ul>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                </ul>
            </div>
        </div>

        <!--精品资源-->
        <div class="catitem jp_dom">
            <div class="title">
                <span class="name"><i class="fa fa-unlink"></i>&nbsp;&nbsp;精品资源</span><span onclick="getMore(1)" class="more">查看更多 >>></span>
            </div>
            <div class="list">
                <div class="zyitem">
                    <div class="coverimg"></div>
                    <div class="covertext"><p class="name">让儿童学会倾诉</p><p class="date">2020-02-20</p></div>
                </div>
                <div class="zyitem">
                    <div class="coverimg"></div>
                    <div class="covertext"><p class="name">让儿童学会倾诉</p><p class="date">2020-02-20</p></div>
                </div>
                <div class="zyitem">
                    <div class="coverimg"></div>
                    <div class="covertext"><p class="name">让儿童学会倾诉</p><p class="date">2020-02-20</p></div>
                </div>
                <div class="zyitem">
                    <div class="coverimg"></div>
                    <div class="covertext"><p class="name">让儿童学会倾诉</p><p class="date">2020-02-20</p></div>
                </div>
            </div>
        </div>

        <!-- 优秀班会 -->
        <div class="catitem bh_dom">
            <div class="title">
                <span class="name"><i class="fa fa-windows"></i>&nbsp;&nbsp;优秀班会</span><span onclick="getMore(2)" class="more">查看更多 >>></span>
            </div>
            <div class="list" style="flex-wrap: wrap;margin-top: 0;">
                <div class="bhitem">
                    <div class="leftimg">&nbsp;</div>
                    <div class="info">
                        <div class="stitle">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="desc outline2">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="detail"><span>2020-02-30</span><span class="bhdetail">查看详细>>></span></div>
                    </div>
                </div>

                <div class="bhitem">
                    <div class="leftimg">&nbsp;</div>
                    <div class="info">
                        <div class="stitle">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="desc outline2">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="detail"><span>2020-02-30</span><span class="bhdetail">查看详细>>></span></div>
                    </div>
                </div>

                <div class="bhitem">
                    <div class="leftimg">&nbsp;</div>
                    <div class="info">
                        <div class="stitle">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="desc outline2">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="detail"><span>2020-02-30</span><span class="bhdetail">查看详细>>></span></div>
                    </div>
                </div>

                <div class="bhitem">
                    <div class="leftimg">&nbsp;</div>
                    <div class="info">
                        <div class="stitle">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="desc outline2">安徽XXXX学校3年6班第一次班会: 孩子的成长，离不开家长的陪伴!</div>
                        <div class="detail"><span>2020-02-30</span><span class="bhdetail">查看详细>>></span></div>
                    </div>
                </div>

            </div>
        </div>

        <!-- 德育名师 && 活动上传 -->
        <div class="catitem msup_dom">
           <div class="ms_dom">
               <div class="title">
                   <span class="name"><i class="fa fa-user-circle-o"></i>&nbsp;&nbsp;德育名师</span><span onclick="getMore(3)" class="more">查看更多 >>></span>
               </div>
               <div class="mslist">
                   <div class="msitem">
                       <div class="msimg">&nbsp;</div>
                       <div class="msinfo">
                           <div class="msname">教师名称</div>
                           <div class="msdesc">
                               <p>教师简介:初中英语教师，曾担任全国奥数监考教师，并荣获国家XX奖项。</p>
                               <p>所在校区:安徽XXX小学</p>
                           </div>
                       </div>
                   </div>

                   <div class="msitem">
                       <div class="msimg">&nbsp;</div>
                       <div class="msinfo">
                           <div class="msname">教师名称</div>
                           <div class="msdesc">
                               <p>教师简介:初中英语教师，曾担任全国奥数监考教师，并荣获国家XX奖项。</p>
                               <p>所在校区:安徽XXX小学</p>
                           </div>
                       </div>
                   </div>

                   <div class="msitem">
                       <div class="msimg">&nbsp;</div>
                       <div class="msinfo">
                           <div class="msname">教师名称</div>
                           <div class="msdesc">
                               <p>教师简介:初中英语教师，曾担任全国奥数监考教师，并荣获国家XX奖项。</p>
                               <p>所在校区:安徽XXX小学</p>
                           </div>
                       </div>
                   </div>

               </div>
           </div>
            <div class="up_dom">
                <div class="title">
                    <span class="name"><i class="fa fa-eject"></i>&nbsp;&nbsp;活动上传</span><span onclick="getMore(4)" class="more">查看更多 >>></span>
                </div>
                <div class="mslist">
                    <div class="msitem">
                        <div class="hdimg">&nbsp;</div>
                        <div class="msinfo">
                            <div class="msname">活动标题</div>
                            <div class="msdesc">
                                <p>活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介</p>
                            </div>
                        </div>
                    </div>

                    <div class="msitem">
                        <div class="hdimg">&nbsp;</div>
                        <div class="msinfo">
                            <div class="msname">活动标题</div>
                            <div class="msdesc">
                                <p>活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介</p>
                            </div>
                        </div>
                    </div>

                    <div class="msitem">
                        <div class="hdimg">&nbsp;</div>
                        <div class="msinfo">
                            <div class="msname">活动标题</div>
                            <div class="msdesc">
                                <p>活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介活动简介</p>
                            </div>
                        </div>
                    </div>

                </div>
            </div>

        </div>

        <!-- 校园德育-->
        <div class="catitem xy_dom">
            <div class="title">
                <span class="name"><i class="fa fa-home"></i>&nbsp;&nbsp;校园德育</span><span onclick="getMore(5)" class="more">查看更多 >>></span>
            </div>
            <div class="list">
                <div class="xyitem">
                    <div class="xyimg">
                        <p class="atitle">2020,宁夏全面开启植树活动！</p>
                    </div>
                    <div class="xylist">
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                    </div>
                </div>
                <div class="xyitem">
                    <div class="xyimg">
                        <p class="atitle">2020,宁夏全面开启植树活动！</p>
                    </div>
                    <div class="xylist">
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                        <div>
                            <p class="outline1">
                                2020,宁夏全面开启植树活动！2020,宁夏全面开启植树活动！2020宁夏全面开启植树活动！
                            </p>
                            <p class="date">2020-02-20</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 资讯 -->
        <div class="catitem zx_dom">
            <div class="title">
                <span class="name"><i class="fa fa-newspaper-o"></i>&nbsp;&nbsp;资讯</span><span onclick="getMore(6)" class="more">查看更多 >>></span>
            </div>
            <div class="list">
                <ul>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                    <li class="zcli"><span>教育部办公厅国家新闻出版广电总局办公厅关</span><span class="date">2015-06-11</span></li>
                </ul>
            </div>
        </div>
    </div>

</div>
<div class="footer">
    <p>主办单位:央馆德育资源服务平台&nbsp;&nbsp;&nbsp;&nbsp;协办单位:安徽安教德育资源服务平台</p>
    <p>COPYRIGHT2020 YANGGUANG. ALL RIGHTS RESERVED.</p>
</div>
<div class="toup">
    <img src="../static/img/up.png" alt="">
</div>

</body>
</html>

<script>
    $(function(){
        $(window).scroll(function(){
            var scrollHeight = $(document).scrollTop();
            if(scrollHeight > 500){
                $(".toup").fadeIn();
                $(".header").addClass('headerbs');
            }else{
                $(".toup").fadeOut();
                $(".header").removeClass('headerbs');
            };
        });

        $(".toup").click(function () {
            $("html,body").animate({scrollTop:'0px'},200);
        });

        //顶部左侧菜单
        $(".leftmenu .items").click(function () {
            var t = $(this).data('type');
            switch (t)
            {
                case 0:
                    $('html,body').animate({
                        scrollTop: $(".zc_dom").offset().top - 70
                    });
                    break;
                case 1:
                    $('html,body').animate({
                        scrollTop: $(".jp_dom").offset().top - 70
                    });
                    break;
                case 2:
                    $('html,body').animate({
                        scrollTop: $(".bh_dom").offset().top - 70
                    });
                    break;
                case 3:
                    $('html,body').animate({
                        scrollTop: $(".msup_dom").offset().top - 70
                    });
                    break;
                case 4:
                    $('html,body').animate({
                        scrollTop: $(".msup_dom").offset().top - 70
                    });
                    break;
                case 5:
                    $('html,body').animate({
                        scrollTop: $(".xy_dom").offset().top - 70
                    });
                    break;
                case 6:
                    $('html,body').animate({
                        scrollTop: $(".zx_dom").offset().top
                    });
                    break;
            };
        });
    });

    //查看更多
    function getMore (t) {
        switch (t)
        {
            case 0:
                window.location.href=encodeURI("./dylist.html?type=index&title=政策文件");
                break;
            case 1:
                window.location.href="../resources/index.html?type=online";
                break;
            case 2:
                window.location.href="../headmaster/index.html?type=teacher";
                break;
            case 3:
                window.location.href=encodeURI("./dylist.html?type=index&title=德育名师");
                break;
            case 4:
                window.location.href=encodeURI("./dylist.html?type=index&title=活动上传");
                break;
            case 5:
                window.location.href=encodeURI("./dylist.html?type=index&title=校园德育");
                break;
            case 6:
                window.location.href=encodeURI("./dylist.html?type=index&title=资讯");
                break;
        };
    }
</script>